package wty.framework.flow;

public abstract class AbstractState {
	protected abstract AbstractState process(FlowSession session);
	public final void nextState(Flow flow, FlowSession session) {
		flow.setNextState(process(session));
	}
}
